package Interfaces;

import java.awt.BorderLayout;
import javax.swing.JPanel;
import javax.swing.JFrame;
import java.awt.Dimension;
import javax.swing.JButton;
import java.awt.Rectangle;
import javax.swing.JTable;

public class VentanaEmpleados extends JFrame {

	private static final long serialVersionUID = 1L;
	private JPanel jContentPane = null;
	private JButton listar = null;
	private JTable jTable = null;

	/**
	 * This is the default constructor
	 */
	public VentanaEmpleados() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(463, 395);
		this.setResizable(false);
		this.setContentPane(getJContentPane());
		this.setTitle("Lista de Empleados");
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private JPanel getJContentPane() {
		if (jContentPane == null) {
			jContentPane = new JPanel();
			jContentPane.setLayout(null);
			jContentPane.add(getListar(), null);
			jContentPane.add(getJTable(), null);
		}
		return jContentPane;
	}

	/**
	 * This method initializes listar	
	 * 	
	 * @return javax.swing.JButton	
	 */
	private JButton getListar() {
		if (listar == null) {
			listar = new JButton();
			listar.setBounds(new Rectangle(27, 27, 67, 21));
			listar.setText("Listar");
		}
		return listar;
	}

	/**
	 * This method initializes jTable	
	 * 	
	 * @return javax.swing.JTable	
	 */
	private JTable getJTable() {
		if (jTable == null) {
			jTable = new JTable();
			jTable.setBounds(new Rectangle(26, 88, 388, 265));
		}
		return jTable;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
